package com.jk.service.impl;

import com.jk.bean.Wb;
import com.jk.mapper.ZgMapper;
import com.jk.service.ZGService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ZgServiceImpl implements ZGService {
    @Autowired
    ZgMapper zgMapper;
    @Override
    public List<Wb> getAllTask(Wb wb) {

        return zgMapper.getAllTask(wb);
    }

    @Override
    public void updateTask(Wb wb) {

        zgMapper.updateTask(wb);
    }
}
